import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
//全局注册Element Plus
import ElementPlus from 'element-plus'
//默认情况下，vue3创建的项目不支持less,需要安装less模块
import './styles/main.less' 

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia()) //注册pinia
app.use(router) //注册路由
app.use(ElementPlus)//注册全局Element Plus

app.mount('#app')
